home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
MiscKit1.7.1
/
MiscKitArchive.mbox
/
mbox
/
000233_misckit-reques…aska.et.byu.edu_Wed Jun 29 18:55:34 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-10-30
|
2KB
Return-Path: <misckit-request@alaska.et.byu.edu>
Received: from alaska.et.byu.edu by darth.byu.edu (NX5.67d/NX3.0M)
id AA02364; Wed, 29 Jun 94 18:55:26 -0600
Received: from acs1.byu.edu by alaska.et.byu.edu; Wed, 29 Jun 1994 13:15:53 -0600
Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.3-7 #7277)
id <01HE46C9NHKG0Q7Y3O@yvax.byu.edu>; Wed, 29 Jun 1994 13:15:28 MDT
Received: from NeXT.COM by yvax.byu.edu (PMDF V4.3-7 #7277)
id <01HE46C2ZGN4HTT4QX@yvax.byu.edu>; Wed, 29 Jun 1994 13:15:14 MDT
Received: from goofy by oz.NeXT.COM (NX5.67e/NeXT0.1-Aleph-bf) id AA08820; Wed,
29 Jun 94 12:14:33 -0700
Received: by goofy.next.com (NX5.67e/NX3.0X) id AA04984; Wed,
29 Jun 94 12:14:30 -0700
Received: by NeXT.Mailer (1.104.1)
Received: by NeXT Mailer (1.104.1)
Date: Wed, 29 Jun 1994 12:14:30 -0700
From: Kelly_Toshach@NeXT.COM (Kelly Toshach)
Subject: Re: Math classes needed ?
To: Bruce McKenzie <bruce@trwlasd.com>
Cc: misckit@byu.edu
Message-Id: <9406291914.AA08820@oz.NeXT.COM>
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7BIT
> I think that it is appropriate to have Int, Double, etc. classes. We
> just wrestled with the issue of getting a [perform:] to return a double.
> Look, just because you have the classes, you don't have to use them.
> Heck, I still use char* (SOMETIMES), even though MiscString is
> available.
>
> I'm kind of surprised that NeXT did not add them in to the Foundation
> classes. Yes, they would have then had to floss their API again, but
> I can make an argument for it.
Foundation, in addition to providing NSValue, provides the subclass
NSNumber. NSNumber is an object wrapper for C number types (BOOL,
double, long, etc.) NSNumber is provided primarily as a container class
for Objective C types. You can use them in places where objects are
required (like in collections).
Kelly Toshach
Developer Trainer
NeXT Computer, Inc.
Kelly_Toshach@next.com